package com.regex;

public class RegexTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String regex = "L31*";
		String str =   "L31701101_20120322.log";
		
		System.out.println((str.matches(regex))?str:"Not matched!");
		
	}

}
